package io.github.loserya.module.dynamic;

import io.github.loserya.core.entity.Condition;
import io.github.loserya.hardcode.constant.ExecuteMethodEnum;

import java.util.List;

/**
 * 动态表名处理器
 *
 * @author loser
 * @date 2024/7/10
 */
public interface DynamicCollectionNameHandler {

    default String dynamicCollectionName(String collectionName, Class<?> clazz, ExecuteMethodEnum methodEnum, Object entity, List<Condition> conditions) {
        return collectionName;
    }

}
